package com.abel.quiz.dao;

import com.abel.quiz.dao.BaseDao;
import com.abel.quiz.po.AuthResourcePo;
import com.abel.quiz.po.AuthResourcePoCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2017-08-04 13:57
* @description
*/
public interface AuthResourcePoDao extends BaseDao<AuthResourcePo, AuthResourcePoCriteria>{

    int countByExample(AuthResourcePoCriteria example);
    
    int deleteByExample(AuthResourcePoCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(AuthResourcePo record);
    
    int insertSelective(AuthResourcePo record);
    
    List<AuthResourcePo> selectByExample(AuthResourcePoCriteria example);

    AuthResourcePo selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AuthResourcePo record, @Param("example") AuthResourcePoCriteria example);

    int updateByExample(@Param("record") AuthResourcePo record, @Param("example") AuthResourcePoCriteria example);

    int updateByPrimaryKeySelective(AuthResourcePo record);

    int updateByPrimaryKey(AuthResourcePo record);
}